home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / CIncludes / DeviceManagerSupport.h < prev    next >
C/C++ Source or Header  |  1996-05-01  |  2KB  |  69 lines

  1. /*
  2.      File:        DeviceManagerSupport.h
  3.  
  4.      Contains:    Device Manager Interfaces.
  5.  
  6.      Version:    Technology:    Sustem 7.5 and 8
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. */
  18. #ifndef __DEVICEMANAGERSUPPORT__
  19. #define __DEVICEMANAGERSUPPORT__
  20.  
  21. #ifndef __CONDITIONALMACROS__
  22. #include <ConditionalMacros.h>
  23. #endif
  24. #ifndef __TYPES__
  25. #include <Types.h>
  26. #endif
  27. #ifndef __DEVICES__
  28. #include <Devices.h>
  29. #endif
  30. #ifndef __CODEFRAGMENTS__
  31. #include <CodeFragments.h>
  32. #endif
  33.  
  34. #ifdef __cplusplus
  35. extern "C" {
  36. #endif
  37.  
  38. #if PRAGMA_IMPORT_SUPPORTED
  39. #pragma import on
  40. #endif
  41.  
  42. #if PRAGMA_ALIGN_SUPPORTED
  43. #pragma options align=mac68k
  44. #endif
  45.  
  46. /* callback function to family from IOCommandIsComplete*/
  47. typedef OSErr (*IOCompleteEntryPointPtr)(IOCommandID ID, OSErr result, ParmBlkPtr thePB);
  48. extern OSErr RegisterDoDriverIO(IOCommandID *theID, ParmBlkPtr thePB, IOCompleteEntryPointPtr returnAddr);
  49.  
  50. extern OSErr IOCommandIsComplete(IOCommandID theID, OSErr theResult);
  51.  
  52. extern OSErr GetIOCommandInfo(IOCommandID theID, IOCommandContents *theContents, IOCommandCode *theCommand, IOCommandKind *theKind);
  53.  
  54.  
  55. #if PRAGMA_ALIGN_SUPPORTED
  56. #pragma options align=reset
  57. #endif
  58.  
  59. #if PRAGMA_IMPORT_SUPPORTED
  60. #pragma import off
  61. #endif
  62.  
  63. #ifdef __cplusplus
  64. }
  65. #endif
  66.  
  67. #endif /* __DEVICEMANAGERSUPPORT__ */
  68.  
  69.